{% extends "topic.html" %}
{% block pageName %}BioVenturist Research Group{% endblock %}

{% block queryScriptTopic %}
<script type="text/javascript" src="/bvapp/static/js/researchgroup_read.js"></script>
<script type="text/javascript" src="/bvapp/static/js/researchgroup_write.js"></script>

<script language="javascript" type="text/javascript">

function load_info() {

	perform_touch('{{ domain_used }}');
	
	var url_read = "http://{{ domain_used }}/api/service/mqlread";
	var url_write = "http://{{ domain_used }}/api/service/mqlwrite";

	var topic_id = parseTopicID("{{ topic_id }}")
	get_content(url_read, url_write, '{{ domain_used }}','{{ bioventurist_domain }}', topic_id);
}
/*	Create a news bar:  */
/*
window._uds_nbw_donotrepair = true;
var topicName = "{{ company_name }}";
function LoadNewsBar() {
  var newsBar;
  var options = {
    largeResultSet : false,
    title : "In the news",
    horizontal : false,
    autoExecuteList : {
      executeList : ["{{ company_name }}"]
    }
  }
  newsBar = new GSnewsBar(document.getElementById("newsBar-bar"), options);
}
GSearch.setOnLoadCallback(LoadNewsBar);
*/
</script>
{% endblock %}
		

{% block col2_container %}
	<div id="topic_logo"><img src="" alt="" name="thumb" align="middle" id="thumb" /></a></div>
	<div id="title"><span id="title"></span></div>
	<div id="page_type">(Research Group)</div> <!-- page_type -->
	<div id="page-wrap">
{% endblock %}

{% block tabs %}
	<div id="tabbed-container">
		<ul>
			<li><a href="#Overview"><span>Overview</span></a></li>
			<li><a href="#R_D"><span>R&D</span></a></li>
			<li><a href="#Publications"><span>Publications</span></a></li>
			<li><a href="#News"><span>News</span></a></li>
			<li><a href="#Edit"><span>Edit</span></a></li>
		</ul>

		<div id="Overview">
			<h2><span>Overview</span></h2>
			<p><div id="description"></div></p>	
			<br><br/>
			<div id="technologiesInvolved"></div>
		</div>
		<div id="R_D">
			Under construction...
		</div>
		<div id="Publications">
			Under construction...
			<br></br>
			<div id="products"></div>
		</div>
		<div id="News">
			Under construction ...
			<div id="newsBar-bar"></div>
		</div>
		<div id="Edit">
		{% if user.is_authenticated %}
			<br>Under construction ...</br>  
			<div id="freebase_redirect"></div>	
		{% else %}
            <li><a href="{% url django.contrib.auth.views.login %}">(Login to edit)</a></li> 
        {% endif %} 	  		
		</div>	
	</div> 
</div>
{% endblock %}		
